Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added recipe finder and red black tree #911

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

purnima2904
Copy link
Contributor

@purnima2904 purnima2904 commented Oct 28, 2024

Pull Request for PyVerse 💡

Requesting to submit a pull request to the PyVerse repository.


Issue Title

added Recipe finder
added red black tree

  • I have provided the issue title.

Info about the Related Issue

The goal of the Recipe Finder project is to create a user-friendly application that helps individuals discover recipes based on the ingredients they have on hand. By leveraging the Spoonacular API, the application aims to provide a convenient way for users to input their available ingredients and receive tailored recipe suggestions, promoting cooking creativity and minimizing food waste. The project also seeks to enhance user experience through a graphical interface, making it accessible for everyone, regardless of their cooking expertise.

The goal of implementing a Red-Black Tree (RBT) was to create a self-balancing binary search tree that ensures efficient data operations such as insertion, deletion, and search. Red-Black Trees are particularly useful in applications where maintaining a balanced tree structure is crucial for performance, as they guarantee logarithmic time complexity for these operations.

  • I have described the aim of the project.

Name

Purnima Gupta

  • I have provided my name.

GitHub ID

purnima2904

  • I have provided my GitHub ID.

Email ID

[email protected]

  • I have provided my email ID.

Identify Yourself

GSSOC

  • I have mentioned my participant role.

Closes

*Closes: #909 *
*Closes: #922 *

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

The Recipe Finder project is a Python application designed to help users find recipes based on the ingredients they have available. Key features and functionalities include:

User Interface: A graphical user interface (GUI) built with Tkinter allows users to enter their ingredients and search for recipes seamlessly.
API Integration: The application utilizes the Spoonacular API to fetch recipes. Users can input a list of ingredients, and the application retrieves matching recipes from the API.
Recipe Display: When recipes are found, they are displayed in a new window, allowing users to click on each recipe title to open the full recipe in a web browser.

  • I have described my changes.

Type of Change

Select the type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

User Input Validation: Tests were conducted by entering valid and invalid inputs. For instance, testing with both single ingredients and complex combinations helped confirm that the application correctly handles different input formats.

API Response Handling: The application was tested under various scenarios, such as when the API returned no recipes or when the API request failed. Appropriate error messages were verified to ensure they provide clear guidance to users.

  • I have described my testing process.

Checklist

Please confirm the following:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Screenshot 2024-10-28 194100

Copy link

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@purnima2904
Copy link
Contributor Author

fixed two issues
#909
#922

Untitled.video.-.Made.with.Clipchamp.mp4

@purnima2904 purnima2904 changed the title Added recipe finder Added recipe finder and red black tree Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Code Addition Request]: Add red black tree [Code Addition Request]: recipe finder application
1 participant